package org.halk.job_admin.pojo.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * job message  response
 * @Author haozhu7
 * @Date 2024/9/27 22:42
 **/
@Data
@Accessors(chain = true)
public class JobResponse {

    private String msgId;
    private String scheduleId;
    /**
     * 0拒绝执行，1执行成功，2执行失败
     */
    private Integer status;
    /**
     * 执行完成得时间
     */
    private LocalDateTime endTime;
    /**
     * 异常信息
     */
    private String error;

}
